package com.ruoyi.web.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 软件版本对象 software_version
 *
 * @author song
 * @date 2024-08-26
 */
public class SoftwareVersion extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 版本主键 */
    private Long versionId;

    /** 软件ID */
    @Excel(name = "软件ID")
    private Long softwareId;


    private String softwareName;

    /** 版本名称 */
    @Excel(name = "版本名称")
    private String versionName;

    /** 描述信息 */
    @Excel(name = "描述信息")
    private String description;

    /** 软件别名 */
    @Excel(name = "软件别名")
    private String aliasName;

    /** 版本状态（0删除，1上架，2下架） */
    @Excel(name = "版本状态", readConverterExp = "0=删除，1上架，2下架")
    private String versionStatus;

    public void setVersionId(Long versionId)
    {
        this.versionId = versionId;
    }

    public Long getVersionId()
    {
        return versionId;
    }
    public void setSoftwareId(Long softwareId)
    {
        this.softwareId = softwareId;
    }

    public Long getSoftwareId()
    {
        return softwareId;
    }
    public void setVersionName(String versionName)
    {
        this.versionName = versionName;
    }

    public String getSoftwareName() {
        return softwareName;
    }

    public void setSoftwareName(String softwareName) {
        this.softwareName = softwareName;
    }

    public String getVersionName()
    {
        return versionName;
    }
    public void setDescription(String description)
    {
        this.description = description;
    }

    public String getAliasName() {
        return aliasName;
    }

    public void setAliasName(String aliasName) {
        this.aliasName = aliasName;
    }

    public String getDescription()
    {
        return description;
    }
    public void setVersionStatus(String versionStatus)
    {
        this.versionStatus = versionStatus;
    }

    public String getVersionStatus()
    {
        return versionStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("versionId", getVersionId())
            .append("softwareId", getSoftwareId())
            .append("versionName", getVersionName())
            .append("aliasName", getAliasName())
            .append("description", getDescription())
            .append("versionStatus", getVersionStatus())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .append("remark", getRemark())
            .toString();
    }
}
